/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.wso2.iot.user; /** * @author smean-MAC * */ public class User { private String id; private String username; private String password; private String email; private String firstname; private String lastname; private String securityQuestion; private String securityAnswer; private String createdOn; private String lastLogin; private String modificationTime; /** * @return the id */ public String getId() { return id; } /** * @param id the id to set */ public void setId(String id) { this.id = id; } /** * @return the username */ public String getUsername() { return username; } /** * @param username the username to set */ public void setUsername(String username) { this.username = username; } /** * @return the password */ public String getPassword() { return password; } /** * @param password the password to set */ public void setPassword(String password) { this.password = password; } /** * @return the email */ public String getEmail() { return email; } /** * @param email the email to set */ public void setEmail(String email) { this.email = email; } /** * @return the firstname */ public String getFirstname() { return firstname; } /** * @param firstname the firstname to set */ public void setFirstname(String firstname) { this.firstname = firstname; } /** * @return the lastname */ public String getLastname() { return lastname; } /** * @param lastname the lastname to set */ public void setLastname(String lastname) { this.lastname = lastname; } /** * @return the securityQuestion */ public String getSecurityQuestion() { return securityQuestion; } /** * @param securityQuestion the securityQuestion to set */ public void setSecurityQuestion(String securityQuestion) { this.securityQuestion = securityQuestion; } /** * @return the securityAnswer */ public String getSecurityAnswer() { return securityAnswer; } /** * @param securityAnswer the securityAnswer to set */ public void setSecurityAnswer(String securityAnswer) { this.securityAnswer = securityAnswer; } /** * @return the lastLogin */ public String getLastLogin() { return lastLogin; } /** * @param lastLogin the lastLogin to set */ public void setLastLogin(String lastLogin) { this.lastLogin = lastLogin; } /** * @return the modificationTime */ public String getModificationTime() { return modificationTime; } /** * @param createdOn the createdOn to set */ public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } }